using System;
using System.Collections.Generic;
using System.Text;

namespace IHC_InspectorExpress.Modelo
{
    [Serializable]
    public class ListaTarea
    {
        private List<Tarea> tareas;

        public ListaTarea()
        {
            tareas = new List<Tarea>();
        }

        public List<Tarea> Tareas
        {
            get { return tareas; }
            set { tareas = value; }
        }

        public void agregarTarea(Tarea task)
        {
            tareas.Add(task);
        }

        public void removerTarea(Tarea task)
        {
            tareas.Remove(task);
        }
    }
}
